package github.sf.fw.tools.db.impl.nebula;


import github.sf.fw.tools.db.DSProperty;
import github.sf.fw.tools.db.model.TableInfo;

public class NebulaDataWriter extends NebulaTableDataWriter {
    public NebulaDataWriter(DSProperty dsProperty) {
        super(dsProperty);
    }
    @Override
    public boolean createTable(TableInfo tableInfo) {
        //生成建表语句
        String ddl = createDDL(tableInfo, tableInfo.getTableExtraInfo().getTargetTableName());
        //执行建表语句
        return executeDDL(ddl);
    }
}
